package br.edu.fucapi.posgraduacao.poo2.sgr.controller;

import java.util.List;
import br.edu.fucapi.posgraduacao.poo2.sgr.model.Alocacao;

public interface AlocacaoController {
	
	void salvar(Alocacao alocacao) throws RuntimeException;

	void remover(Alocacao alocacao) throws RuntimeException;

	void atualizar(Alocacao alocacao) throws RuntimeException;

	List<Alocacao> pesquisar(Alocacao alocacao) throws RuntimeException;

	Alocacao consultarPorExemplo(Alocacao alocacao) throws RuntimeException;

	List<Alocacao> listarTodos() throws RuntimeException;
	
}
